<%@include file="/WEB-INF/acreditacion/includes.jsp"%>
<%@include file="/WEB-INF/acreditacion/libs/utils.jsp" %> 
<util:session validate="true" name="Session2"/> 
 

<body class="body" onload="setFocus('nombres')">
<script type="text/javascript" >
    function setFocus(objPositCur){ $("#"+objPositCur).focus();}
</script>
<%=f_table_head_modules(60)%>

<div style="color: red" id="datagrid"   >
    <div id="idFormulario" >

        
<c:url var="saveAccesoUrl" value="saveAcceso.html" />
<form:form modelAttribute="accesoInsertar" method="POST"  action="${saveAccesoUrl}">    
    <table align="center" width="90%" class="myform">
    <tr><th colspan="2"  class="showtitle1" >.::REGISTRO DE ACCESOS::.</th></tr>

    <tr>
    <td class="mylabel">Nombre </td>
    <td>: 
        <form:input path="nombre" maxlength="20" id="nombre" cssClass="myinput"  size="40" /> 
    </td>
    </tr>
    <tr>
        <td class="mylabel">P&aacute;gina (URL) </td>
    <td>: 
        <form:input path="pagina"  cssClass="myinput"  size="70" />                
    </td>
    </tr>
    <tr>
    <td>Tipo </td>
    
    <td class="mylabel1" colspan="1" > : 
        <form:select path="idMenu" cssClass="myinput"  >
            <form:option value=""><c:out value="--------------------"/> </form:option>
            <c:if test="${!empty comboxMenu}">
            <c:forEach var="menu"  items="${comboxMenu}">
            <form:option value="${menu.idMenu}" >
                <c:out value="${menu.nombre}"/>
            </form:option>
            </c:forEach>
            </c:if>
        </form:select>      
    </td>
    
    
    </tr>
    <tr>
        <td>Orden </td>
       <td>: 
           <form:select path="orden" cssClass="myinput"  >
               <form:option value=""><c:out value="#"/> </form:option>
               <form:option value="1"><c:out value="1"/> </form:option>
               <form:option value="2"><c:out value="2"/> </form:option>
               <form:option value="3"><c:out value="3"/> </form:option>
               <form:option value="4"><c:out value="4"/> </form:option>
               <form:option value="5"><c:out value="5"/> </form:option>
               <form:option value="6"><c:out value="6"/> </form:option>
               <form:option value="7"><c:out value="7"/> </form:option>                              
               <form:option value="8"><c:out value="8"/> </form:option>                              
               <form:option value="9"><c:out value="9"/> </form:option>                              
           </form:select>

        </td>
    </tr>

    <tr>
        <td align="center" colspan="2">            
            <input  type="submit"  class="button2" value="Guardar" >&nbsp;
            <input  type="button"  class="button2" value="Cancelar" onclick="cancelForm('fm2')" >&nbsp;&nbsp;&nbsp;&nbsp;
        </td>
    </tr>
    </table>
   </form:form> 
    </div>
    <form action="mainAcceso.html"  id="fm2" name="fm2"> </form>
</div>
<%=f_table_foot_modules()%>
</body>
